const path = require('path');
const nodeExternals = require('webpack-node-externals');
module.exports = {
  target: "node",
  entry: {
    app: ["./utildev/exploitInitCtx/mfutil_webpack.js"]
  },
  output: {
    filename: "./mfinitctx.js",
    libraryTarget: 'umd',
    libraryExport: 'default'
  },
  externals: [nodeExternals()],
};